#include <stdio.h>

typedef struct 
{
    char name[20];
    int age;
    int score;
}stu;

void input_student(stu *sp) {
    printf("please innput\n");
    scanf("%s%d%d", sp->name, sp->age, sp->score);
}

void output_student(stu *sp) {

    printf("%s %d %d\n", sp->name, sp->age, sp->score);
}

int main(int argc, char const *argv[])
{
    stu s1;
    input_student(&s1);
    output_student(&s1);
    return 0;
}
